package com.hanthink.system.domain.manhour;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * 产线的设备维护对象 PLineMachineStructure
 * 
 * @author hanthink
 * @date 2022-05-05
 */
public class PLineMachineStructure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产线代码 */
    @Excel(name = "生产线代码")
    private String plineid;

    /** 设备代码 */
    @Excel(name = "设备代码")
    private String machineid;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String plinename;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String machinename;

    /** 工厂代码 */
    @Excel(name = "工厂代码")
    private String factoryid;

    /** 实体ID */
    private Long id;

    private Long equipId;

    /** 设备状态 */
    private String  status;

    public void setPlineid(String plineid) 
    {
        this.plineid = plineid;
    }

    public String getPlineid() 
    {
        return plineid;
    }
    public void setMachineid(String machineid) 
    {
        this.machineid = machineid;
    }

    public String getMachineid() 
    {
        return machineid;
    }
    public void setPlinename(String plinename) 
    {
        this.plinename = plinename;
    }

    public String getPlinename() 
    {
        return plinename;
    }
    public void setMachinename(String machinename) 
    {
        this.machinename = machinename;
    }

    public String getMachinename() 
    {
        return machinename;
    }
    public void setFactoryid(String factoryid) 
    {
        this.factoryid = factoryid;
    }

    public String getFactoryid() 
    {
        return factoryid;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipId(Long equipId)
    {
        this.equipId = equipId;
    }

    public Long getEquipId()
    {
        return equipId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }
    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("plineid", getPlineid())
            .append("machineid", getMachineid())
            .append("plinename", getPlinename())
            .append("machinename", getMachinename())
            .append("factoryid", getFactoryid())
                .append("status", getId())
            .append("id", getId())
            .toString();
    }
}
